Value through switch permanently

I did it exactly like u wrote. But it works like i wrote.

on the graphic side i do not have any "on" or "off" like you have...