How to restart application

yah as you said
keep the whole process in a TRY block of TRY CATCH ACTIVITY
where if the process if fails due to this popup
then it will go to CATCH BLOCK where we can use ELEMENT EXISTS or IMAGE EXISTS activity and get the output with variable of type boolean named bool_exists
-now use a IF CONDITION like this
bool_exists = True
if true it will go to THEN part where use a click activity and clickon that ok button and followed by that we can place the sequence of activities we need

Cheers @Aditya10989