Added onBackPressed functionality 

Need to add this to the other activities