Added notification for changes in state attribute