Fix settings caching for UI