commit code for v1.0.6 - fixed badge not being reset after launched