select: button text is wrong in case of groups (close #885)

cc @narqo @mishanga