Added serialisation of widgets

Saves widgets state to localStorage and loads widgets in new position
if called (sendData())