work on mainActivity progress bar