Added onBackPressed

Added onBackPressed