Encapsulate the "choose_distance_bar"