Fixed calculateCumulativeTime bug (calculation of the timeClicks was
wrong!!)