issue #74: assign code to rotate buttons