It seems that this method didn't work for me the last time I tried it. If I'm not mistaken, the f1 on my laptop performs some kind of function and refuses to work for anything else. And the f5 button is completely empty, so it works with it. This applies not only to purple, but also to other games and other keys that already perform some function