Update to work with calibre 2 PyQt5