clear number of new notifications only if necessary