Update CustomBadge to be iOS 7 compliant