Right now, time is calculated based on visited and answered time stamps which is completely wrong Use a timer to calculate and pause as required.