Added didMoveTo method which can handle push messaging