With the ability to let a user select a theme in place, the next step is to apply the chosen theme.
As you learned previously, the theme needs to be set in the PreInit event, which takes place early
in the page’s life cycle. Inside this event, you can see if the cookie with the selected theme exists. If it
does, you can use its value to set the right theme.