add progressbar for async tasks when loading data