 
       if @isActive()
         @selectItemForRow(@findRowForNormalItem(0, 'next'))
-      @emitModifiedStatusChanged(false)
+      @setModifiedState(false)
       @emitDidRefresh()
 
   renderItems: (items) ->

        return

      @provider.updateRealFile(changes)
      @emitModifiedStatusChanged(false)

  # Just setting cursor position works but it lost goalColumn when that row was skip item's row.
  moveUpOrDown: (event, direction) ->

                # Delay immediate preview unless @provider is boundToEditor
                @autoPreviewOnNextStopChanging = true
      else
        @setModifiedState(true)

  withIgnoreCursorMove: (fn) ->
    @ignoreCursorMove = true
