Sending notification when the stack changes.