Prepare to change the theme.