action to buttons