added support for cancelling asyncTasks in the middle, improved addThumbnail layout design