toggle
noun
[ ˈtɒɡ(ə)l ]
• a short rod of wood or plastic sewn to one side of a coat or other garment, pushed through a hole or loop on the other side and twisted so as to act as a fastener.
• a key or command that is operated the same way but with opposite effect on successive occasions.
toggle
verb
• switch from one effect, feature, or state to another by using a toggle.
• "the play/pause button toggles between those functions"
• provide or fasten with a toggle or toggles.
• "our horses were hobbled or toggled before they were turned out to graze"
Origin:
mid 18th century (originally in nautical use): of unknown origin.