Added try/catch to pushNoification call