Added onBackPressed to Register Activity