on Change Annotating Mode
Called when annotation mode changes, meaning another annotation tool is being selected or another annotation is being selected for editing.
Parameters
controller
Controller for managing annotation mode.