According to your explanation, everything is good and you can reach your desired result by using hints or game guide (first post). If you want more help, we need your last save file
View attachment 1942395
You are on the path of fake friendship. In this path of the game, you still cannot get rid of Eric. Getting rid of Eric until this version of the game is specific to the hostile path
The reason for having this opportunity in the game is to find out what kind of books Alice is interested in. So after understanding it and giving the first book as a gift to Alice, the opportunity is complete. But the effect of this information will remain in the game and Once in a while, Max can buy a book of a type that Alice is interested in and give it to her.. So you have completed this opportunity correctly and it is exactly as it should be.