Send UNREAD event to UI when flag changes.
Closes: #3662
Merge remote-tracking branch 'kali/bug/3662_signal_unread_when_flag_changes' into develop