Add progressbar to activities