         {row} = @editor.getCursorBufferPosition()
         @editor.setCursorBufferPosition([row, column])
 
-  refresh: ({force}={}) ->
+  refresh: ({force, selectFirstItem}={}) ->
     @emitWillRefresh()
 
     if force

    @items.filter (item) ->
      (not item.skip) and (item.filePath is filePath)

  updateProviderPanel: (states) ->
    @providerPanel.updateStateElements(states)

  selectItemForRow: (row) ->
    item = @items[row]

            selection.destroy()
          @withIgnoreChange => @insertQuery(@lastQuery) # Recover query
        else
          @refresh(selectFirstItem: true).then =>
            if @autoPreviewOnQueryChange and @isActive()
              if @provider.boundToEditor
                @preview()
