private void RemoveAllModifications()
        {
            shortcut.Manifest = null;
            shortcut.Save();
            manifest = shortcut.CreateManifest();
            Tile     = null;
            this.RaisePropertyChanged(nameof(BackgroundColor));
            this.RaisePropertyChanged(nameof(UseWindowsAccent));
            this.RaisePropertyChanged(nameof(ShowNameOnSquare150x150Logo));

            MessageBus.Current.SendMessage(new UpdateShortcutsWithSameTargetCommand(this));
        }
        public ShortcutViewModel(Shortcut shortcut)
        {
            this.shortcut                 = shortcut;
            this.manifest                 = shortcut.Manifest ?? shortcut.CreateManifest();
            SelectTileCommand             = new ActionCommand(SelectNewTile);
            RemoveTileCommand             = new ActionCommand(RemoveTile);
            RemoveAllModificationsCommand = new ActionCommand(RemoveAllModifications);
            ToggleColorPickerCommand      = new ActionCommand(() => ColorPickerVisible = !ColorPickerVisible);
            SaveCommand  = new ActionCommand(Save);
            ShortcutPath = shortcut.ShortcutPath;

            this.icon = new Lazy <BitmapSource>(() =>
            {
                using (var i = shortcut.LoadIcon())
                {
                    return(i.ToBitmapSource());
                }
            });
        }