Java file for settings activity