Create Handler for ProgressBar and move all operations which need syncexec there