Adds checked calls to runOnUiThread from fragments.