buttons now toggle class and model