place legend update in loadmainTheme