To switch to the Lunar spellbook, head to the Astral altar that is found in the southeastern corner of Moonclan Island. Pray there, and you will be able to switch it.