Pokemon Ultra Moon: how to select the rainbow bean

in pokemon ulra moon I can’t select the rainbow bean because the bar doesn’t slide, you can only select up to purple bean.