Fix #IDEUI-209 icon cannot be update on parts

Uniformize icon handling on tab between editor and other parts and fix
the icon refreshing bug. Some little clean-up in CSS too.