             return
 
         @kernelManager.startKernelFor grammar, (kernel) =>
-            @setStatusBarElement()
+            @setStatusBar()
             @_createResultBubble kernel, code, row
 
 

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

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

        @removeStatusBarElement()

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

