Added press function to the buttons on the homepage