Implemented pause and start tracking functionality