Fix #8 Adjust time and distance interval only if there is a change in speed