Add functionality to save preferences, UserDefault