Add tracking mark done logic