 
   reset: (event) =>
     event.preventDefault()
-    @errors_area.html('Problem state got out of sync.  Try reloading the page.')
-    if @state == 'done'
+    if @child_state == 'done'
       $.postWithPrefix "#{@ajax_url}/reset", {}, (response) =>
         if response.success
           @answer_area.val('')


  next_problem: (event) =>
    event.preventDefault()
    @errors_area.html('Problem state got out of sync.  Try reloading the page.')
    if @child_state == 'done'
      $.postWithPrefix "#{@ajax_url}/next_problem", {}, (response) =>
        if response.success

          @message_wrapper.html('')
          @child_state = 'initial'
          @rebind()
          @next_problem_button.hide()
          location.reload()
        else
          @errors_area.html(response.error)
