     @collection.search()
     @setScopeButtonState(@collection.getSearchScope())
 
+    @notificationOptions =
+      detail: 'Atom todo-show package'
+      dismissable: true
+      icon: @getIconName()
+
+    @checkDeprecation()
+
     @disposables.add atom.tooltips.add @scopeButton, title: "What to Search"
     @disposables.add atom.tooltips.add @optionsButton, title: "Show Todo Options"
     @disposables.add atom.tooltips.add @saveAsButton, title: "Save Todos to File"


  filter: ->
    @collection.filterTodos @filterBuffer.getText()

  getTodos: ->
    @collection.getTodos()

  showError: (message = '') ->
    atom.notifications.addError message, @notificationOptions

  showWarning: (message = '') ->
    atom.notifications.addWarning message, @notificationOptions

  saveAs: =>
    return if @collection.isSearching()
