Pavlovia - logic stops working when moving from preview to pilot/running

Have you looked at these threads?