handles safari push notifications