Use the selected theme in preferences

Previously the theme was locked to white in the preferences activity.