added a button with an action