Fixed adding a new binary switch action

Fixed a bug that prevented adding a new binary action. Also added
GetLabel functions to make the description of dimming and binary switch
actions more descriptive.