added state to the options of Toggle