Checking for iOS 7 SDK or not adding the background fetch methods.