private async void AddGoogleAccountDetailsToApplication(string accountName) { var account = new GoogleAccount { Name = accountName }; if (GoogleAccounts == null) { GoogleAccounts = new ObservableCollection <GoogleAccount>(); } GoogleAccounts.Add(account); SelectedProfile.SelectedGoogleAccount = account; SelectedProfile.GoogleCalendars = null; SelectedProfile.GetGoogleCalendar(); Settings.GoogleAccounts = GoogleAccounts; await SettingsSerializationService.SerializeSettingsAsync(Settings); }