fixed bug related to app-settings API changes.