button active state fix