Fixed fatal back button bug