EllaOne pill during ovulation

So me and my husband had sex last night and he finished in me and I checked the calendar here on glow and it says I’m ovulating right now I took the EllaOne pill right after having sex would it still work?.