Fix BadgeView extension to match working projects