partial void AddButtonLease_TouchUpInside(UIButton sender) { if (val.IsPresent(AddLeaseTextField)) { var alert = UIAlertController.Create("Alert!", "Do you want to add: " + AddLeaseTextField.Text + " to leases?", UIAlertControllerStyle.Alert); alert.AddAction(UIAlertAction.Create("YES", UIAlertActionStyle.Default, (obj) => { string lease = AddLeaseTextField.Text.Replace(',', '.'); dm.AddLease(lease); ToastIOS.Toast.MakeText("Lease Added!").Show(); AddLeaseTextField.Text = ""; stringList = dm.FillLeasePicker(); pickerMaker(stringList, DeleteLeaseTextField); })); alert.AddAction(UIAlertAction.Create("NO", UIAlertActionStyle.Default, (obj) => { AddLeaseTextField.Text = ""; })); vc.PresentViewController(alert, true, null); } }