         selectedOptions[i] = selected
       else
         selectedOptions[i] = {label: annotation.value, value: annotation.value}
-    @setState {selectedOptions}
+    selectedOptions
 
   handleFocus: ->
     @menus[0].focus()

    </GenericTask>

  onChangeSelect: (i, option = {label: null, value: null}) ->
    {selectedOptions} = @state
    selectedOptions[i] = option
    value = @props.annotation.value

    options = @getOptions(i)

    @clearRelated(i)

    newAnnotation = Object.assign @props.annotation, {value}
    @props.onChange newAnnotation
