Remove duplicated instance of selection_color function