Update index.html

update buttons on active state