Revert "Added function for intervals, changed to using setTimeout with an option to switch to intervals (useSetInterval)"

This reverts commit 6b5be9ec246c533e09c1f0c38570ba29e47af065.