Added the functionality for the home button.