Adding and opening ebook in customized ebook reader in fancy box