adapting to new API
Merge branch 'api_v2' of https://github.com/stacksync/android into api_v2
app adapted to new API