session publish and cleaning up change theme option