     @disposables.add pane.observeFlexScale (flexScale) =>
       @savePaneFlex(flexScale)
 
-    @disposables.add atom.config.observe 'todo-show.liveRefresh', (newValue) =>
-      @liveRefresh = newValue
-
     @disposables.add @model.onDidChangeSearchScope @setScopeButtonState
     @disposables.add @model.onDidStartSearch @startLoading
     @disposables.add @model.onDidFinishSearch @stopLoading

      @searchCount.text "#{nPaths} paths searched..."

    @disposables.add atom.workspace.onDidChangeActivePaneItem (item) =>
      if item instanceof TextEditor and @model.scope is 'active'
        @model.search()

    @disposables.add atom.workspace.onDidAddTextEditor ({textEditor}) =>


    @disposables.add atom.workspace.onDidDestroyPaneItem ({item}) =>
      @model.search() if @model.scope is 'open'

    @disposables.add atom.workspace.observeTextEditors (editor) =>
      @disposables.add editor.onDidSave => @model.search()

    @scopeButton.on 'click', @toggleSearchScope
    @optionsButton.on 'click', @toggleOptions
