private async void ShowUpdateMessage()
 {
     if (SettingsService.Instance.LocalSettings.ShowUpdateMessage)
     {
         await UpdateNotificationService.NotifyUser();
     }
     else
     {
         SettingsService.Instance.LocalSettings.PropertyChanged += async(sender, args) =>
         {
             if (args.PropertyName.Equals("ShowUpdateMessage") && SettingsService.Instance.LocalSettings.ShowUpdateMessage)
             {
                 await UpdateNotificationService.NotifyUser();
             }
         };
     }
 }
 private void ShowUpdateMessage()
 {
     if (SettingsService.Default.Value.LocalSettings.ShowUpdateMessage)
     {
         UpdateNotificationService.NotifyUser(UpdateDialogContainer, UpdateDialogTitle, UpdateDialogContent, UpdateDialogButton1, UpdateDialogButton2);
     }
     else
     {
         SettingsService.Default.Value.LocalSettings.PropertyChanged += (sender, args) =>
         {
             if (args.PropertyName.Equals("ShowUpdateMessage") && SettingsService.Default.Value.LocalSettings.ShowUpdateMessage)
             {
                 UpdateNotificationService.NotifyUser(UpdateDialogContainer, UpdateDialogTitle, UpdateDialogContent, UpdateDialogButton1, UpdateDialogButton2);
             }
         };
     }
 }