Fix for issue #1670. ThemeCheck and customizer callback