Added progressbar in controller activity