refactor live interface

why not use elapsedDistanceMeters that you already created above.
and why not make that a double.
and how about also checking for elapsedDistance == 0