fix the new approach using buttons

https://github.com/mindboards/ev3dev-kernel/issues/24