fix config button active state