Fix a crash on iOS 5.1

The method setAllowsCellularAccess is only available fromn iOS 6.0.
Added a check before calling this method.