Fix notification registration for iOS