Added actions for button clicks