private async void AddButton_Click(object sender, RoutedEventArgs e) { if (WebsiteOptionsView.SelectedItem != null) { BindableWebsiteOption websiteOption = WebsiteOptionsView.SelectedItem as BindableWebsiteOption; BindableWebsite website = await SettingsManager.AddWebsiteAndSave(websiteOption); if (website != null) { Frame.Navigate(typeof(TagOptionsPage), website); } } }