                     extension = 'png'
                     @icon.removeClass 'svg'
 
-                src = "api/applications/#{app.id}.#{extension}"
+                src = "api/applications/#{@model.id}.#{extension}"
                 @icon.attr 'src', src
                 @icon.show()
                 @icon.removeClass 'stopped'
+                $("##{@model.get 'slug'}-frame").remove()
 
             when 'installing'
                 @showSpinner()

                    extension = 'png'
                    @icon.removeClass 'svg'

                @icon.attr 'src', "api/applications/#{app.id}.#{extension}"
                @icon.addClass 'stopped'
                @hideSpinner()


    ### Listener ###


    onAppChanged: =>
        switch @model.get 'state'
            when 'broken'
                @hideSpinner()
