My advice is simple, stop in a safe place, switch off the engine and remove the key before using the touch screen.
Why, well I know of a chap who stopped to use his phone, did not switch off the engine and so got booked
Unlucky perhaps but why take the chance of getting booked or something even worse happening.
Sorry for teaching granny to suck eggs
TTFN
Hugh.
