added generic getAppSetting