bugfixes related to button controls on arduino