     @hasAnnotation    = false
     @hasWarned        = false
     @preset           = null
-    @feedback         = false
+    @feedbackShown    = false
     @xDown            = null
     @yDown            = null
     @isAnnotatable    = true

    # Update stats
    @nClassified += 1
    @setClassified()

  onFinish: (e) =>
    e.preventDefault()
    
    if @isTrainingSubject
      # If finished is clicked again move to the next image
      if @feedback
        @tutorial?.end()
        return
      
      @feedback = true
      
      # Get the training type (e.g. lens or empty)
      training = @classification.subject.metadata.training
      trainingType = training.type
      
      if trainingType in ['lensed galaxy', 'lensed quasar']
        x = (training.x + 30) / @subjectDimension
        y = 1 - (training.y / @subjectDimension)
        
        # Check if any annotation over lens
        over = false
        for index, annotation of @annotations
          over = @checkImageMask(annotation.x, annotation.y)
          break if over
        
        if over
          @tutorial = new Tutorial
            id: 'sim-found'
            firstStep: 'found'
            steps:
              length: 1

              found: new Step
                header: 'Nice catch!'
                details: "You found a simulated #{trainingType}!"
                attachment: "left center .primary #{x} #{y}"
                block: '.annotation'
                className: 'arrow-left'
                nextButton: 'Next image'
                next: true
                onExit: =>
                  @submit(e)
                  @viewer.trigger 'close'
          @tutorial.start()
        else
          @tutorial = new Tutorial
            id: 'sim-missed'
            firstStep: 'missed'
            steps:
              length: 1
                  
              missed: new Step
                number: 1
                header: 'Whoops!'
                details: "You missed a simulated #{trainingType}!  Don't worry, let's move to the next image."
                attachment: "left center .primary #{x} #{y}"
                block: '.annotation'
                className: 'arrow-left'
                nextButton: 'Next image'
                next: true
                onExit: =>
                  @submit(e)
                  @viewer.trigger 'close'
          @tutorial.start()
        
      else if trainingType is 'empty'
        # Subject is an empty field
        nAnnotations = Object.keys(@annotations).length
        if nAnnotations > 0
          @tutorial = new Tutorial
            id: 'empty-missed'
            firstStep: 'missed'
            steps:
              length: 1
              
              missed: new Step
                header: 'There is no gravitational lens in this field!'
                details: "This is a different kind of Training Image, one that has already been inspected by the Science Team and found not to contain any gravitational lenses."
                attachment: 'center center .primary center center'
                block: '.annotation'
                nextButton: 'Next image'
                next: true
                onExit: =>
                  @submit(e)
                  @viewer.trigger 'close'
          @tutorial.start()
        else
          @tutorial = new Tutorial
            id: 'empty-found'
            firstStep: 'found'
            steps:
              length: 1
              
              found: new Step
                header: 'Nice! There is no gravitational lens in this field!'
                details: "This is a different kind of Training Image, one that has already been inspected by the Science Team and found not to contain any gravitational lenses."
                attachment: 'center center .primary center center'
                block: '.annotation'
                nextButton: 'Next image'
                next: true
                onExit: =>
                  @submit(e)
                  @viewer.trigger 'close'
          @tutorial.start()
    else
      @submit(e)


    
    # Load current subject
    @viewer.load(@classification.subject.metadata.id)
  
  # Enabled only when viewer is ready
  wheelHandler: (e) =>
