CSS Class assignment corrected.

Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.