Add active state fro buttons in browser