Adding iOS 7 background-sync support