bars change color when clicked