Bug1062326

This line makes a reflow and when we change the color twice this method doesn't provide the current background color at the moment so it is the reason why icons don't change accordingly