Updated design and added functionalities to the buttons