allow users to press the back button again
removed unused code