To replace a selected contact with a coil or vice versa, select the contact or coil and click the 'Toggle' in-place button:
The assigned variable remains unchanged.