Replaced appSetting with userSettings. Now can save setting value.