public T GetValueOrDefault <T>(SettingsKeyNames keyName, T defaultValue)
        {
            string key = keyName.ToString();

            if (settings.Contains(key))
            {
                return((T)settings[key]);
            }
            else
            {
                return(defaultValue);
            }
        }
        public void AddOrUpdateSettings(SettingsKeyNames keyName, object value)
        {
            string key = keyName.ToString();

            if (settings.Contains(key))
            {
                settings[key] = value;
            }
            else
            {
                settings.Add(key, value);
            }
            this.Save();
        }