partial void AddPlaneButton_TouchUpInside(UIButton sender) { if (val.IsPresent(AddPlaneTextField)) { var alert = UIAlertController.Create("Alert!", "Do you want to add: " + AddPlaneTextField.Text + " As a plane?", UIAlertControllerStyle.Alert); alert.AddAction(UIAlertAction.Create("YES", UIAlertActionStyle.Default, (obj) => { string plane = AddPlaneTextField.Text.Replace(',', '.'); dm.AddPlane(plane); ToastIOS.Toast.MakeText("Plane Added!").Show(); AddPlaneTextField.Text = ""; stringList = dm.FillPlanePicker(); pickerMaker(stringList, DeletePlaneTextField); })); alert.AddAction(UIAlertAction.Create("NO", UIAlertActionStyle.Cancel, (obj) => { AddPlaneTextField.Text = ""; })); vc.PresentViewController(alert, true, null); } }