Fix task toggling to work better with switching between tasks using sentence switcher.