#309 Fixed bug, when saving of widget edit mode