added state widget removed old one