UI must be updated in UI thread
Close cursor after use