Added the actions to click buttons/links