When developing a mobile application, a common need that arises is the one of storing user’s preferences and using them…