Properly remember networking mode when switching between plugins

Both linuxbridge and vmware plugins force a mode, but when switching to
them and then away from them, it's nice to remember the old mode that
was set.