application now can store preferences