Added options to start and stop drawing the canvas