Fixed a bug with disabled toggles