more robust, don't save empty selection

when save fails, keep last title

Fixes #18
When bookbar is never shown, use memory item for correct state of pagetools add/remove button