Removed execution in UI thread; ensures support for Titanium 3.1.0.GA