added event for the home button