I want to call the following function, which is meant to
pause for 2 seconds before launching the function within it.
Initially it works but the counter starts acting erratically when
you launch the initial function a few times, which unfortunately is
a requirement for the application.
Any help would be greatly appreciated on this one.