Given that the code frequently utilizes the range 8-25, it would be sensible to replace it with variables. By utilizing variables, you only need to modify the values once.
The UI state is set to CHEM_DISINFECT_UI_STATE_DISINFECT_DEVICE when the disinfectant is being added to the reservoirs. It is one of the logged parameters. This was in the original chem disinfect code.