is `toggleButton` meant to be `_toggleButton`?