change color of the selected path instead of drawing box