private void Initialize()
        {
            PopupModel = new SettingsPopupViewModelBase();
            PopupModel.InitializeCommands();

            EditRakeBackCommand = new RelayCommand(EditRakeBack);
            EditBonusCommand    = new RelayCommand(EditBonus);

            RemoveRakeBackCommand = new RelayCommand(RemoveRakeBack);
            RemoveBonusCommand    = new RelayCommand(RemoveBonus);

            BonusesList  = new ObservableCollection <BonusModel>();
            RakeBackList = new ObservableCollection <RakeBackModel>();
        }
        private void Initialize()
        {
            PopupModel = new SettingsPopupViewModelBase();
            PopupModel.InitializeCommands();

            SendLogsCommand       = new RelayCommand(SendLogs);
            RebuildStatsCommand   = new RelayCommand(RebuildStats, x => CanRunStatsCommand());
            RecoverStatsCommand   = new RelayCommand(RecoverStats, x => CanRunStatsCommand());
            VacuumDatabaseCommand = new RelayCommand(VacuumDatabase, x => CanRunStatsCommand());

            SettingsSendLogViewModel.OnClose += PopupModel.ClosePopup;

            TimeZones = TimeZoneInfo.GetSystemTimeZones();
            MinOffset = TimeZones?.Min(x => x.BaseUtcOffset).Hours ?? -12;
            MaxOffset = TimeZones?.Max(x => x.BaseUtcOffset).Hours ?? 12;
        }