use thread and runable to load progressbar