You close the book and add it to the shelf. This adds to the counter for the current objective on your quest and gives you a notification. It looks like you will need to put 9 more books on the shelf to complete your quest.