The pause button works now, but only problem is that the resume doesn't work properly, it goes back to the original start time.