Added reset badges functionality