Add notify call when state change.