Can anyone detail how this FOB works for me?

Hey guys, so I started barbacking at a local sports bar, and changing kegs is kind of new to me. The one part that confuses me is the resetting of the FOB detector.

This isn’t the exact model, but it looks similar: Best PRO-MAX™ Keg Foam on Beer Detector – Wall Mount

So, the top part is what I use to flush the foam out of the FOB and fill it with beer. However, I was also told to switch the lever at the bottom upwards before changing kegs, and then back down after the keg has been changed and flushed. What exactly does that lever on the bottom do? And am I using it right? Thanks!

If I remember from my restaurant days (2+ years ago) that shuts a valve, cutting off flow from the keg. I dont really remember using it that often. Once you know what you are doing, you wont have to worry too much about that valve: an empty keg has nothing to spill and a new keg need to fill the FOB anyways. Just what I am remembering, could be wrong