changes to allow color change of the HealthBar (from green to red)