convert to async task on photo slideshow activity