Added 'new-state' event
1.2.0