Added buttons and their functionalities