Edit book: Fix saved search dialog causing high CPU usage
pep8