                 @kernelManager.destroyRunningKernel kernel
             @clearResultBubbles()
             @kernelManager.startKernel kernelSpec, grammar, =>
-                @setStatusBarElement()
+                @setStatusBar()
                 kernel = @kernelManager.getRunningKernelFor language
                 @setWatchSidebar kernel
 

        while @statusBarElement.hasChildNodes()
            @statusBarElement.removeChild @statusBarElement.lastChild

    setStatusBarElement: ->
        unless @statusBarElement?
            console.error 'setStatusBarElement: there is no status bar'
            return

        @removeStatusBarElement()

            return

        @kernelManager.startKernelFor grammar, (kernel) =>
            @setStatusBar()
            @_createResultBubble kernel, code, row


