prepare to change theme