protected override void OnNavigatedTo(NavigationEventArgs e) { var localSettings = ApplicationData.Current.LocalSettings; if (!localSettings.Values.ContainsKey("FirstTimeRunComplete")) { //MainPivot.SelectedIndex = 1; } }