Fix for state handling in ButtonHelper (#254)

Signed-off-by: Grant Skinner <info@gskinner.com>