everything stops after starting a timer

Use the technique in the Blink Without Delay example sketch to manage your timing. It will be easier than using any timing library. I wrote and extended demo in the first post of this Thread.

...R