add active state for counter