private void Set(string key, int value) { try { settings.SetInt(key, value); } catch (Exception e) { Logger.Error(e); } }