added method to click on actionbar home button