Fix add and edit ebooks