Add function custom-active-theme and custom-theme-active-p to check current theme
Color config depending on custom theme should be initialized after it's loaded