modified to only click the back button to return to the home