Fixed build error in MainActivity.