7227 Flag for loading resources and campaigns cache on UI thread

https://swrvedev.jira.com/browse/SWRVE-7227

Private changes: