added back button and call function