The fix was to change a button index from 1 to 3. I don't know if it was the upgrade from Sierra to High Sierra, or the upgrade in Bookpedia version numbers that broke this. Regardless, I'm assuming this is not backwards compatible with Sierra and Bookpedia versions < v5.6. Hence the major version bump.