Started code refactoring - mouse press event in AreaAnnotation
is not structured according to the state.