Previously I was calculating the total distance in the Options UI by summing the past 50 days together. This was the incorrect "total" distance which is annoying, but it was a remnant of the original version of this where I kept track of every day (and not just the past 50). I had to make this change because the sync storage was running out of space.
Anyway, so this should initialize the true total distance with the sum of the past 50 days and from then on it'll go on for forever.