Save last distance to a csv and only print message if it's changed by more than a km