added re-enabling button functionality when the book is available