you have to do it in speed trial mode otherwise it doesn’t count/give you the red lantern; that said, if you really think you deserve the red lantern and don’t want to play the level again you can change your save file (change “bestSpeedMultiplier63” to 1)