merge similar actions into one button