saveDevice(1)
Typo in saveDevice(1)
Passing thru and object
saveDevice(1) now bug free
Fail safe implemented