select action by clicking on a button rather than using a radio button