Add timer
Adds total time to database