Add repeat distance UI