added active button state