Added possibility to save widget status (collapsed, expanded) to local storage.