The shelves would have been created from being synced from the Kobo cloud. The names go there even if all they contain are side-loaded books.
If you had originally created the shelves via calibre, when you attached the device it should have handled the re-adding of the books (already on the SD card) to the shelves during the metadata processing stage.
|