                 msg += " Error was : #{errormsg}" if errormsg
                 alert msg
             when 'installed'
-                @launchApp()
+                @launchApp(event)
             when 'installing'
                 alert t 'this app is being installed. Wait a little'
             when 'stopped'
-                @model.start success: @launchApp
+                @model.start success: => @launchApp(event)
 
     setUseWidget: (widget = true) =>
         widgetUrl = @model.get 'widget'
         if widget
-            @$('.use-widget').text t 'Use icon'
+            @$('.use-widget').text t 'use icon'
             @icon.detach()
             @stateLabel.detach()
             @title.detach()
             @$('.application-inner').html WidgetTemplate url: widgetUrl
         else
-            @$('.use-widget').text t 'Use widget'
+            @$('.use-widget').text t 'use widget'
             @$('.application-inner').empty()
             @$('.application-inner').append @icon
             @$('.application-inner').append @title

        app: @model.attributes

    events:
        "click .application-inner" : "onAppClicked"
        'click .use-widget'        : 'onUseWidgetClicked'

    ### Constructor ####



    ### Functions ###

    launchApp: (e) =>
        if e.which is 2 or e.ctrlKey or e.metaKey # ctrl or middle click
            window.open "apps/#{@model.id}/", "_blank"
        else if e.which is 1 # left click
            window.app.routers.main.navigate "apps/#{@model.id}/", true
