Custom Function

You can add this as a custom function for the time being.

1) Click on your Application in the Project Inspector
2) Look for the group heading (Architect) I believe it's the first one
3) The 3rd option is Functions
4) Click the "+" button
5) A new MyFunction1 will drop down
6) Click the arrow
7) fn = type onUpdated
8) Click back on Application in the Project Inspector
9) You should see your onUpdated() function in the app.js now
10) Click on onUpload in the Project Inspector
11) Add this to the function in the editor window:

but it is not working on Architect right now, no onUpdate message appears..
I am trying to get it on Architect but no way, this works only on a generated app directly from Sencha touch with the help of Jacky's production.js witch you have to copy into /microloader/path.