Added debug code for remote notifications callback