         setTimeout (=> @destroy()), 600
 
     prompt.show()
+  
+  updateDrawingTask: ->
+    marks = []
+    for {mark} in @subjectViewer.markingSurface.tools
+      marks.push mark if mark._taskIndex is @subjectViewer.taskIndex
+    
+    @decisionTree.currentTask?.reset marks
 
   events:
     'change input[name="favorite"]': (e) ->

      @finishSubject()

    @decisionTreeContainer.append @decisionTree.el

    @summary = new ClassificationSummary


    for keyAndValue in decisionTreeValues then for key, value of keyAndValue
      annotations.push {key, value}

    annotations

  promptToLogIn: ->
