Redesigned process of downloading images with the use of SwingWorker