Based on Android-Couchbase-Callback