     @statusBar = statusBar
     @showStatusBarIfNeeded()
 
+  isUpdateAvailable: ->
+    availableVersion = localStorage.getItem(AvailableUpdateVersion)
+    availableVersion? and availableVersion isnt atom.getVersion()
+
   showStatusBarIfNeeded: ->
-    return unless @updateAvailable and @statusBar?
+    return unless @isUpdateAvailable() and @statusBar?
 
     StatusBarView ?= require './about-status-bar'
 


AboutView = null
StatusBarView = null

aboutURI = 'atom://about'


    @subscriptions.add atom.commands.add 'atom-workspace', 'about:view-release-notes', ->
      require('shell').openExternal('https://atom.io/releases')

    availableVersion = localStorage.getItem(AvailableUpdateVersion)
    localStorage.removeItem(AvailableUpdateVersion) if availableVersion is atom.getVersion()

    if atom.isReleasedVersion()
      @subscriptions.add atom.onUpdateAvailable ({releaseVersion}) =>
        localStorage.setItem(AvailableUpdateVersion, releaseVersion)
        @showStatusBarIfNeeded()

  deactivate: ->
