finish()

Very minor changes. Fixed back button to MainActivity.