Convert current energy usage to component.
Restore rerender after resize functionality.
Fix handling of keyboard events in day show view.

Apparently, earlier on I inserted an event.preventDefault() in the keyDown handler.