Cleanup handler toggling logic.