setting delay in background from the (slightly ugly) popup panel