     uri: @getURI()
 
   handleGrimUpdated: =>
-    @refreshCallsButton.show()
+    @updateCalls()
 
   getURI: ->
     @uri

  subscribeToEvents: ->
    # afterAttach is called 2x when dep cop is the active pane item on reload.
    return if @subscribedToEvents

    @refreshCallsButton.on 'click', => @updateCalls()
    @refreshSelectorsButton.on 'click', => @updateSelectors()

    @on 'click', '.deprecation-info', ->
      $(this).parent().toggleClass('collapsed')

    @div class: 'deprecation-cop pane-item native-key-bindings', tabindex: -1, =>
      @div class: 'panel', =>
        @div class: 'panel-heading', =>
          @span "Deprecated calls"
        @ul outlet: 'list', class: 'list-tree has-collapsable-children'

        @div class: 'panel-heading', =>
          @span "Deprecated selectors"
        @ul outlet: 'selectorList', class: 'selectors list-tree has-collapsable-children'

