Added onBackKeyPressed override code