Ovulation help

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.