added active-state for buttons