Never used this before as I'm new to B4A/i, but can you verify the state values? When I'm using it, the numbers seem to correspond to:
IF BUTTON DISABLED:
state: 0 - disabled, 1 - normal, 2 - highlighted
IF BUTTON ENABLED:
state: 0 - normal, 1 - disabled, 2 - disabled