private void LightThemeRadioButton_Checked(object sender, RoutedEventArgs e)
        {
            Settings.Theme = ApplicationTheme.Light;

            if (Frame != null)
            {
                ((ThemeAwareFrame)Frame).AppTheme = ElementTheme.Light;
            }

            ApplicationView.GetForCurrentView().TitleBar.ButtonForegroundColor = Colors.Black;
            StatusBarMethods.SetLightStatusBar();
        }
        private void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            StatusBarMethods.WhichOrientation();
            StatusBarMethods.SetStatusBarColors();

            if (TitleBarRowDefinition != null)
            {
                TitleBarRowDefinition.Height = ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar") && ActualWidth < 800
                    ? new GridLength(0)
                    : new GridLength(31);
            }

            TitleBar.Visibility = ActualWidth < 800
                ? Visibility.Visible
                : Visibility.Collapsed;
        }