added sync / async option
added app id
Merge pull request #36 from zasmarkany/sync-async-variable

Sync async variable