Some course books and basic grammars unhelpfully imply that only one form is correct in any particular utterance. This is rubbish. Very often there is more than one possible tense/aspect.; the choice depends on what is, often unconsciously, going through the speaker's mind at the moment of speaking.
Both progressive and non-progressive forms could be used in both halves of that sentence.