Resync deleted library

New to seafile. I had some initial self inflicted problems that resulted in me having to delete some libraries, which I did in seahub. When I try to re-add the local folders in the client, it gets denied, saying that that path is already used by a library (which I deleted by clicking on the delete icon in seahub beforehand). Restarting the client does not solve the problem.

Checking with seaf-cli, I find this line:
Notebooks 24e969fa-924a-4d1f-80f8-b679d976fb43 /home/ft/Notebooks
which tells me that somewhere the info about the deleted library still exists. How can I delete that info and re-sync that folder?