DRY: generate the Key selection buttons from a map