Added back button extra code.