ANNOTATIONJAVA-315: Update Annotation samples according to changes in Viewer v2.4.0