Refactor ebook options