fix null pointer when no apns are found for device
make toast when no apns are found