Added activity indicators,Changed Upload button functionality.