   toggleHidePrevMarksEnabled: (e) ->
     enableHidePrevMarks = e.target.checked
     @props.task.enableHidePrevMarks = enableHidePrevMarks
-    @props.workflow.update 'tasks'
+    @props.onChange @props.task
 
   toggleMultipleChoice: (e) ->
     newType = if e.target.checked

  addAnswer: ->
    @props.task.answers.push
      label: 'Enter an answer'
    @props.workflow.update 'tasks'

  addHighlighterLabels: ->
    @props.task.highlighterLabels.push
      label: 'Enter label'
    @props.workflow.update 'tasks'

  addTool: ->
    @props.task.tools.push

    else
      'single'
    @props.task.type = newType
    @props.onChange @props.task

  addChoice: (type) ->
    switch type
