1. Add runOnUiThread
2. Add .gitignore so that the bins and gens will not be uploaded to
github.