badge listener