Modules/energy: Fix graph showing wrong data
Emit dataChanged
in StatisticsProvider::load
when the history of a
device couldn't be obtained (as the data is cleared in that case in line 173).
Currently, clicking on a device that has no history still displays the data of the device that was viewed before.