They both are correct and have the same meaning, but it is a good general rule to use the simplest tense that correctly expresses the meaning. Doing that also helps your learning of tenses. If you use a simple tense and someone tells you it is wrong, they can explain to you why the simpler tense is wrong and why you need a more complicated tense there.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.