Fixes the calculation of the "next" time calculation
Merge branch 'master' of https://github.com/mtevosyan/BusVisualization