Upgrade for newer ios.

- This version should also keep running in the background on ios6 and later