             fatalError("Found unexpected item type in Perk store: \(currentItem)")
         }
         
-        
-        
-        
-        
+        self.collectionView.collectionViewLayout.invalidateLayout()
+        //self.collectionView?.reloadItems(at: [indexPath])
+        cell.layoutIfNeeded()
         
         return cell
     }

                reconcileScoreFromPurchase(purchasePrice: perk.price!)
                
                collectionView.reloadData()
                
                print("Perk \(String(describing: newPerk!.name)) has been unlocked!")
            }

        lockAllExpiredPerks()
        
        collectionView.reloadData()
        self.collectionView.collectionViewLayout.invalidateLayout()
    }
    
    /******************************************************/
