IOS:Added progress bar and thread click event