Don't change settings in UI thread