Badge added and badge class change in CSS