Fix for setApplicationIconBadgeNumber

added errorCallback  Issue #8