I use Viber and when it is in the background, it shows a notification in the notification bar when I get a message. However, sometimes when I click that message and it opens Viber, the notification stays there no matter the I'm actually reading it.
If I go to the message list, it shows unread messages, no matter I just read it. If I dismiss the message, it'll get back in a few minutes as it detects it is not yet read.
You can see here the notification is there and the message is already read:
What should I set to make it show the notifications properly?