i have the same problem, newly installed instance , installed optifine ( doubt its that ) , loaded the world and on spawning i tried opening the book using 'E' then clicking the guide icon top left aswell as rightclicking the book itself, no ui appears... except for the refresh and close buttons.
on pressing refresh the load api screen appears then after completion goes back to showing nothing but the 2 buttons