implemented changing lifebar color