Correctly registers device on iOS 8