Update the navTreeStr when the book navigation changes
Wait until the book is loaded before showing it in the nav bar