Switch with different delays

but if the 12601000UL is running, the loop just waits and will never see a change of the switchpin.
So i have to wait until the delays is finished???