public SettingsAppearanceViewModel()//:base(container)IUnityContainer container
        {
            Setting = OrmManager.GetDefault <SettingModel>();
            if (Setting == null)
            {
                OrmManager.Insert(new SettingModel());
                Setting = OrmManager.GetDefault <SettingModel>();
            }
            foreach (var theme in Theme.GetThemes())
            {
                this.themes.Add(new Link {
                    DisplayName = theme.Name, Source = new Uri(theme.Path, UriKind.Relative)
                });
            }
            colors                   = Theme.GetThemeColors();
            FontSizes                = Theme.GetThemeFrontSizes().Select(x => x.Name);
            this.SelectedFontSize    = Setting.FontSize;
            this.SelectedTheme       = this.themes.FirstOrDefault(l => l.DisplayName.Equals(Setting.Theme, StringComparison.InvariantCultureIgnoreCase));
            this.SelectedAccentColor = this.colors.FirstOrDefault(x => x.Name.Equals(Setting.Color, StringComparison.InvariantCultureIgnoreCase));
            SyncThemeAndColor();

            AppearanceManager.Current.PropertyChanged += OnAppearanceManagerPropertyChanged;
        }