Alright well the issue is pretty simple and it's all in ClickingButtons.java
You first need to get the ' return' button ID which is probably popping in your chat bar? Else you can check on google on how to make it show.
CTRL+F that button id in Clickingbuttons class then check what it's doing.
Will look like : c.setsidebarinterface(X,XXXX);
You will have to change the invalid numbers to the working numbers. So you first get the TAB id for magic book, then the Interface ID for lunars.
This can also be done by just copying the working one.
To find the button ID, you can add something like this under process packet in clickingbuttons
Code:
if(c.playerRights == 3)
c.sendMessage("Actionbutton: " + actionButtonId + " ;