If you're having trouble completing this (I.e., the message that you need "What Areha wrote after coming back to town" you need to click on the bookshelf to the left of the chest, AFTER the final stage is initiated (doesn't matter if you did it before) at which point you can complete the quest.