Change the run function in MainActivity to a lazy argument.