add home button functionality