Am I right in thinking that the button handler only causes an event for a button press(although I realize it is possible to configure the button such that a release is interpreted as a press), rather than a change of state? I expect I can work around this, but would it be possible to re-configure the button in the event handler, such that events would be generated on both press and release?