- in annotation_layer, move common properties treatment in a common method instead having duplicated code in each widget.