Refactored setting the default themes.