worked on widget persistence