Fix bug when textfield stay visible when user switch to draw mode.
Add settings for annotations.