add more actions for the buttons