Basic code to sync a nook ereader