You don't need to pass updateIndicator anything, as the default case will clear the button (though this does help with code clarity).