Fixed bug where app_settings was ignored, and the app reverted to defaults. Issue: #524