Cleanup the settings activity