Fixed bug. Add backup/restore to updateParentNode

Please let me know if this fixes the mentioned bug.  I added comments to explain what this else bracket is doing.  I'm still having issues running on hardware.  hid_listen.exe just keeps spitting:

Waiting for new device:
Listening:

Device disconnected.
Waiting for new device:
Listening:

Device disconnected.

Indefinitely while the mooltipass is plugged in. (Both revs of hardware)