add state on dblclick