in the absence of JLC, re: the SQLite Manager Firefox add-on, you could try doing it this way:
- Open books.db, click on the tab 'Execute SQL',
- Copy/paste Kolenka's code into the 'Enter SQL' panel underneath
- press the 'Run SQL' button. You should see the new trigger name appear in the left-hand panel after the existing 5 cleanup triggers
The attached image is before the trigger is created, not after.