private void AddMeme()
 {
     try
     {
         var view = new InsertKeyView();
         var vm   = view.DataContext as InsertKeyViewModel;
         vm.LoadPasteMeme();
         view.ShowDialog();
         LoadMemes();
     }
     catch (Exception ex)
     {
         _logger.Error(ex, ex.Message);
     }
 }
 private void SetKey()
 {
     try
     {
         var insertKV = new InsertKeyView();
         var vm       = insertKV.DataContext as InsertKeyViewModel;
         vm.LoadKeyCombination();
         insertKV.ShowDialog();
         if (vm.Valid)
         {
             Modifier = vm.Modifier;
             MajorKey = vm.PressedKey;
         }
     }
     catch (Exception ex)
     {
         _logger.Error(ex, ex.Message);
     }
 }