Fix toggle state