load appPref settings