Code refactor. Moving code related to image annotation away from
AppView.