It looks like the callback also gives us a `state` parameter (according to the docs, at least).. Should we be using that instead of blindly toggling?