You can not modify project files from runtime. You need to read the file on the first run, change or add new books and save the data to Local Storage for example. Next time, if Local Storage item exists, get it from Local Storage instead of the project file.
But of course, this method will only work for one user. If you want to add books for all users, you need some kind of online database.