Added method to go to previous screen