Finished the implementation of the methods 'setSpeed' and 'setPaused'.