If I saw this earlier I could have turned you on to a simple utility for this very annoyance.
It's multi platform, just have to be running focusrite control somewhere on your network
Its crude, but functional with my 8i6
https://github.com/dounix/focusrite-autoclock
The logic is
If clock source set to spdif, and it's not locked, switch to internal clock
If clock is set to internal, and there is some level of signal on spdif in(likely with minor popping, due to mismatched clock), switch to spdif clock source.
Both of these switches take a few seconds when you turn on/off your axefx/other spdif device, but it's better than fiddling with menus every time.