Fixing canAfford freezes UI