Added earn method for EarnedBadge