Added different states to the Energy bar.