private void CheckPassword(object sender, PasswordValidatedEventArgs args)
 {
     if (args.IsValid) {
         MessageBox.Show("Experimental functionality enabled.", "Password valid", MessageBoxButton.OK);
         this.NavigationService.GoBack();
     } else {
         MessageBox.Show("Experimental functionality disabled.", "Password invalid", MessageBoxButton.OK);
         App.AppSettings.DeveloperPassword = "";
     }
 }
 private void CheckPassword(object sender, PasswordValidatedEventArgs args)
 {
     if (!args.IsValid && AppSettings.DeveloperPassword != String.Empty) {
         MessageBox.Show("Experimental functionality will be disabled.", "Developer password expired", MessageBoxButton.OK);
         AppSettings.DeveloperPassword = "";
     }
 }