Fixed bug where themes were wrong at startup