Safe Theme Selector in Index.php