Fixing theme switch.