hid sample: Preserve device selection on update.

This fixes a bug which caused the current device selection
to be reset every time a device enumeration cycle completed.