async void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
        {
            Debug.WriteLine("Saving States");
#if WINDOWS_APP
			e.PageState.Add("HorizontalOffset", ContentScrollViewer.HorizontalOffset);
			e.PageState.Add("VerticalOffset", ContentScrollViewer.VerticalOffset);
#else
            //this.BottomAppBar.Visibility = Windows.UI.Xaml.Visibility.Collapsed; // Request to hide the bottom appbar when navigating from
#endif
            if (ViewModel.IsLoading || ViewModel.SeriesId <= 0 || !ViewModel.IsDataLoaded)
            {
                if (navigationId != null)
                    e.PageState.Add("LoadingBreak", navigationId.ToString());
            }
            else
            {
#if WINDOWS_PHONE_APP || WINDOWS_UWP
                int currentLine = GetCurrentLineNo();
				ViewModel.ReportViewChanged(null, currentLine);
				e.PageState.Add("IsFullScreen", ViewModel.IsFullScreen);
#endif

                e.PageState.Add("SeriesId", ViewModel.SeriesId);
                e.PageState.Add("ChapterNo", ViewModel.ChapterNo);
                e.PageState.Add("VolumeNo", ViewModel.VolumeNo);
                e.PageState.Add("LineNo", ViewModel.LineNo);

                if (DisableUpdateOnNavigateFrom) return;
                DisableUpdateOnNavigateFrom = false;
                await App.Current.MainDispatcher.RunAsync(CoreDispatcherPriority.Normal, async () =>
                {
                    await UpdateApplicationHistory();
                });
            }
        }
 private void navigationHelper_SaveState(object sender, SaveStateEventArgs e)
 {
 }
        private void NavigationHelper_SaveState(object sender, SaveStateEventArgs e)
        {
            e.PageState.Add("HubOffset", HubScrollViewer.HorizontalOffset);
#if WINDOWS_UWP
            e.PageState.Add("IsSigninPopupOpen", false); //!Hack!!!
#else
            e.PageState.Add("IsSigninPopupOpen", SigninPopup.IsOpen);
#endif
        }