public SettingsViewModel(INavigationService navigationService)
     : base(navigationService)
 {
     SwitchToDarkModeCommand = new DelegateCommand <AnimationView>(async Switch =>
     {
         if (Preferences.Get("IsDarkMode", false))
         {
             Switch.PlayFrameSegment(15, 50);
             Preferences.Set("IsDarkMode", false);
             App.ActivateDarkMode(false);
         }
         else
         {
             Switch.PlayFrameSegment(0, 15);
             Preferences.Set("IsDarkMode", true);
             App.ActivateDarkMode(true);
         }
     });
 }