Swift: complete applyTheme()