When a path is selected, its color is changed on the map