preferences
load and apply preferences