add active state to questions