Update and rename distance.html~ to distance.html