My F4 key has decided to detached itself from the keyboard, has anyone got any tips on how to get it back on.

It appears that 4 little prongs need to go in 4 looped slots, my guess is that these plastic connectors need to go in with the actual F4 key attached meaning this is going to be very tricky indeed to get back on.

So has anyone got any ideas how to get it back on which involves the least swearing as possible?