Fixed generateBookReport() and UI for handling the results