do changeResolution in a background thread