       @finishSubject()
 
     @decisionTreeContainer.append @decisionTree.el
+    
+    @listenTo @subjectViewer.markingSurface, 'marking-surface:add-tool', =>
+      @updateDrawingTask()
+      
+    @listenTo @subjectViewer.markingSurface, 'marking-surface:remove-tool', =>
+      @updateDrawingTask()
 
     @summary = new ClassificationSummary
 

        setTimeout (=> @destroy()), 600

    prompt.show()

  events:
    'change input[name="favorite"]': (e) ->

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

    annotations

  promptToLogIn: ->
