putting widget state