Could you move syncPrefs.getValue('aceTheme') to setupEditorThemes()?