I have a similar problem with a Sony Xperia Z1.
Viber always uses speakers as audio output, so even if I have BT headphones connected, any viber notification makes it switch to the speakers.
Usually if this happens BT gets disconnected and it's really hard to connect it again.
It happens...