Got finishCurrentBook function partially working