Added buttons and click events