Issue #195 : fix the backgrounding sync on iOS7