async void ChangeStartType(object sender, PropertyChangedEventArgs e)
 {
     // IOS sends an event every time user rests their selection on an item without hitting "done", and the only event they send when hitting "done" is that the control is no longer focused.
     // So we'll process the change at that time. This works for android as well.
     if (e.PropertyName == "IsFocused" && !this.StartTypePicker.IsFocused)
     {
         var newSelectionCandidate = this.StartTypePicker.SelectedIndex;
         var persistedStartType    = StartTypeUtils.GetPersistedStartType();
         if (newSelectionCandidate != (int)persistedStartType)
         {
             StartTypeUtils.SetPersistedStartType((StartType)newSelectionCandidate);
             await Application.Current.SavePropertiesAsync();
             await DisplayAlert("Start Type Changed", "Start type has changed, which alters the app secret. Please close and re-run the app for the new app secret to take effect.", "OK");
         }
     }
 }