Added grid item state depending on inlist