Added preferences and SettingsFragment to set server address.