public static function setActiveTheme($activeIndex) {
        foreach ($themes = static::getThemes() as $index => $theme) {
            if ($activeIndex !== false && $activeIndex == $index) {
                $themes[$index]['active'] = true;
            } else {
                $themes[$index]['active'] = false;
            }
        }
        static::setThemes($themes);
    }