Added menu item to enable and disable swapping