JBIDE-16287 : properly update warning component after settings.xml update

The fix actually restores old code that was removed by mistake