Boilerplate code for settings activity