Implemented the 'clear track' function.