Remove the active layer check.
This will let users select/deselect notes in the course of normal mapping instead of having to make the notes layer the active one.