Removed the early and duplicated invocation of setupCustomTheme
function, that causes when i set this flag to false the OS Theme
feature is still enabled.

$.ui.autoLaunch = false;
$.ui.useOSThemes=false;
and then call $.ui.launch(),