added a back button to the gui