removed the thread from fragment and put to activity

progress bar and text were moved