added super.onDestory() to MainActivity onDestory() (this is to prevent the app from crashing when the back button is pressed to exit MainActivity)