add progressbar activity and and return behaviour