Display distances and durations; Add callback

* Add callback to displayDistancesAndTimes