Stop in for a cup of coffee

This one works perfect, its mounted below floor and after cleaning it works perfect.
Some sort of spring to the cover around the switch to keep it in position? Fishing here.