Apple - Support - Discussions - Changing modifier keys in keyboard ...
"Unplugging the dongle to my Logitech MX 1100 and then swapping my modifier keys worked. Just be sure to open the modifier keys window first."