so a couple of options
you can add the condition "is jumping" to the on 'e' 'q' pressed events, that way the sprite will be in the air when it flips.
or
you could change the gravity then add a system wait 0.2ish seconds action and then flip the sprite.
or
you can rotate towards the angle as shown in the .capx ill link to.
https://www.dropbox.com/s/v97op97bdqwgi ... .capx?dl=0