Add user interface for settings and save settings on SharedPreferences