Here is a new version with which, you can modify the csv attached file and modifications will be taken into account immediately without closing then re-opening the pdf file.
With this version you can directly add or remove a book into/from the database. It checks if the book exists before adding or removing it.
It was possible to sort the database, but I wondered if it is a good choice. You maybe prefer to keep the order you entered the books…
About the script you add for saving the file, you change the name with « this.getField(« ListaNivel3″).valueAsString » which is the number of the range in the csv file but not necessarily the last number…