Fixed a bug that prevented the timer from starting.