Catch back key and fix back button issue