Clear buttonState properly

Caused an issue on some dongles