private void NavigateToAthensTransitOr() { Frame rootFrame = Window.Current.Content as Frame; if (rootFrame.Content != null) { rootFrame.Navigate(typeof(MainPage), null); } }