Added Back button functionality.