Add pushMessage function to send the notification to APNs