DAR-2885: Added closure to ThemeDesigner