Implementation of offline synchronization feature for BaasBox