added app preferences