commit code for pause button does not work as pause. It works as STOP.