Water pump with selectable water levels

I'm trying to make a plastic bottle collector with water dispenser

It's just like a coin coffee maker machine or plastic bottle collecting machine

The video that I've showed you it doesn't work like in the sim you've given to me. The issues in the vid is you can still click the button to dispense water and the ir sensor

I replaced it to pir to represent my ir sensor that im using. In the sim, the pir works the same as the switch but the ir that I'm using does not