         defaultState    : if app.approved then "Disapprove" else "Approve"
         states          : [
           "Approve", (callback)->
-            app.approve yes, (err)->
-              callback? err
+            appsController.approveApp app, (err)=>
+              if not err
+                app.approve yes, (err)->
+                  if err then warn err
+                  callback? err
+              else
+                callback? err
           "Disapprove", (callback)->
             app.approve no, (err)->
               callback? err

      else
        @likeButton.setState "Like"

    appsController = @getSingleton("kodingAppsController")

    if app.versions?.length > 1
      menu =

            callback? err
      ]
    , app

    appsController = @getSingleton("kodingAppsController")

    if KD.checkFlag 'super-admin'
      @approveButton = new KDToggleButton
