public void InitializeCommands()
        {
            LoadPosts = new RelayCommand(LoadPostsAsync);
            SelectNextPost = new RelayCommand(SelectNextPostAction, SelectNextPostCanExecute);
            SelectPreviousPost = new RelayCommand(SelectPreviousPostAction, SelectPreviousPostCanExecute);
            ReloadResources = new RelayCommand(ReloadResourcesAction);
            DisplaySettings = new RelayCommand(DisplaySettingsAction);

            PlusRating = new RelayCommand(PlusRatingAction);
            MinusRating = new RelayCommand(MinusRatingAction);
        }
        public SettingsViewModel()
        {
            ApplyChangesCommand = new RelayCommand(ApplyChanges, Validate);
            Skins = SkinManager.GetSkins();

            //copy settings:
            var cfg = ConfigurationManager.CurrentConfiguration;
            RefreshInterval = cfg.RefreshInterval;
            SelectedSkin = previousSkin = cfg.Skin;
            IgnoreNicks = cfg.IgnoreNicks;
            IgnorePosts = cfg.IgnorePosts;
            UserName = cfg.ServiceSettings.UserName;
            PasswordHash = "11111111";

            isInitializing = false;
        }