             {
                 cell.textLabel?.textColor = UIColor(red: 242 / 255.0, green: 173 / 255.0, blue: 83 / 255.0, alpha: 1.0)
             }
+            cell.selectedBackgroundView  = nil
         }
         else
         {

            cell.textLabel?.font = UIFont.systemFontOfSize(14.0)
            
            let selectionView = UIView(frame: CGRectMake(0, 0, cell.frame.width, cell.frame.height))
            selectionView.backgroundColor = UIColor.lightGrayColor()
            selectionView.layer.cornerRadius = cell.frame.width / 2.0
            cell.selectedBackgroundView = selectionView
        }

    }
    
    func collectionView(collectionView: UICollectionView!, didSelectItemAtIndexPath indexPath: NSIndexPath!){
//        collectionView.deselectItemAtIndexPath(indexPath, animated: true)
        if indexPath.section != 0
        {
            let item = dateArr.objectAtIndex((indexPath.section - 1) * 7 + indexPath.row) as NSDictionary
            delegate?.selectedDate(item.objectForKey("date") as NSDate)
            let isCurrentMonth  = item.objectForKey("isCurentMonth") as Bool
//            self.removeFromSuperview()
        }
    }
    
