Fixes #405

If their is an active text selection, manually toggle the checkbox and trigger a `change` event.