Initial method for the theme toggle