Added feature to pause timer.