fixed bug in timer where I forgot to reset the pause flag to false when the timer is stopped.