added comments to app delegate from demo app