partial void AddPilotButton_TouchUpInside(UIButton sender) { if (val.IsPresent(AddPilotTextField)) { var alert = UIAlertController.Create("Alert!", "Do you want to add: " + AddPilotTextField.Text + " As a pilot?", UIAlertControllerStyle.Alert); alert.AddAction(UIAlertAction.Create("YES", UIAlertActionStyle.Default, (obj) => { string pilot = AddPilotTextField.Text.Replace(',', '.'); dm.AddPilot(pilot); ToastIOS.Toast.MakeText("Pilot Added!").Show(); AddPilotTextField.Text = ""; stringList = dm.FillPilotPicker(); pickerMaker(stringList, DeletePilotTextField); })); alert.AddAction(UIAlertAction.Create("NO", UIAlertActionStyle.Default, (obj) => { AddPilotTextField.Text = ""; })); vc.PresentViewController(alert, true, null); } }