Crossword Genius

In a panic when program interrupts affair (8)

Ross

I believe the answer is:

flapping

I'm a little stuck... Click here to teach me more about this clue!

'in a panic when' is the definition.
I can't judge whether this defines the answer.

'program interrupts affair' is the wordplay.
'program' becomes 'app' (type of computer program).
'interrupts' indicates putting letters inside.
'affair' becomes 'fling' (a fling is a romantic affair).
'app' placed within 'fling' is 'FLAPPING'.

Can you help me to learn more?

(Other definitions for flapping that I've seen before include "Agitated" , "Waving" .)

I've seen this clue in The Times.
Want a hint initially instead of a full solution? Install my app