Fix: gets date correctly when the extension was activated