Using buttons for actions