added notification to user if state transition