Fixed bug when sound notifications do not work if desktop notifications are disabled.