added undo to time tracking