I have created a picture slideshow using "Loop for X seconds"
function. Now I have to add "pause" button to the presentation, so
that user can temporarily pause the slideshow looping and then
continue the looping by pressing the "pause" button again. I have
tried to re-use the parts of Loop for X seconds -code, but is there
a better/easier solution?