Adding iOS 8 push logic