minor fix on APNS: check for 'badge' existance
minor fix on APNS: check for 'badge' existance

doubleleft/hook,itfrogs/hook,doubleleft/hook,doubleleft/hook,endel/hook,doubleleft/hook,endel/hook,itfrogs/hook,endel/hook,itfrogs/hook,itfrogs/hook,endel/hook