This application stores preferences in a proper type