added onSaveInstanceState to MainActivity
cleaned up MainActivity GUI