Updated index view, add html class to btn