Added preferences.
Removed hostname/password/username from main activity.
Merge remote-tracking branch 'choose_remote_name/master'