App Preferences Working
Added use of both preferences