Refresh annotorious and annotator, using index for ShapeSelectors