Adding progressbar to main activity