I have an API small learning project. Where I get image from calling the API then I select some images to create a slideshow in chosen interval. Now I want to pause the