Fixed bug for pausing the class. Now only the pauser device can unpause the class