ThemeService.java: fix crash