Control Cube rotation

I want to control cube rotation using button i.e. when user clicks on toggle rotation button if the cube is rotating then it should stop rotation and if the cube is steady then after clicking button it should start rotation.
here is the fiddle

please help

In a very simple case:

Thank you.