Back button functionalities added