Ovulation question

I had a positive OPK yesterday and a negative today. Why is the app saying I ovulated yesterday? It originally said I would ovulate today when I put in the positive OPK yesterday but then when I put the negative one in for today it switched my ovulation day to yesterday.