         
         if(DetailSpot.StatusId == 2)
         {
-            //If any bid Accepted than Spot staus also 2
+            //If any bid Accepted than Spot staus also , than disable all Accept button in table
             cell.btnAccept.enabled = false
-            cell.btnReject.enabled = false
-        }
-        if (bid.StatusId == 4 ||  bid.StatusId == 2)
-        {
-         cell.btnAccept.enabled = false
-         cell.btnReject.enabled = false
-            if (bid.StatusId == 4 )
+            //cell.btnReject.enabled = false
+        }
+        //if (bid.StatusId == 4 ||  bid.StatusId == 2)
+        //{
+        
+        
+            if (bid.StatusId == 2 ) //Accepted
             {
-            cell.backgroundColor = UIColor.greenColor()
+                cell.btnAccept.enabled = false
+                cell.backgroundColor = UIColor.greenColor().colorWithAlphaComponent(0.10)
             }
             
-            if ( bid.StatusId == 2)
+            if ( bid.StatusId == 4)  //Rejected
             {
-                cell.backgroundColor = UIColor.redColor()
-            }
-        }
+                cell.backgroundColor = UIColor.redColor().colorWithAlphaComponent(0.10)
+                cell.btnReject.enabled = false
+            }
+        //}
         cell.btnAccept.addTarget(self, action: "btnAccept_click:", forControlEvents: .TouchUpInside)
         cell.btnReject.addTarget(self, action: "btnReject_click:", forControlEvents: .TouchUpInside)
         cell.btnAccept.tag = indexPath.row

               
           }
        }
    }
    
        func showmessage ( msg : String) -> Void

       
        let currentbid : Bid = datas[sender.tag]
        print("btnAccept_click from main  at " + String(sender.tag) + "  value: " + String(currentbid.value))
         self.updateBid(currentbid, status :2,  sender: sender!)
         self.updateSpot(currentbid, status :2,  sender: sender!)
        self.tableView.reloadData()
       /*
        let prefQuery = PFQuery(className: "Spot")
        prefQuery.getObjectInBackgroundWithId(DetailSpot.spotId){
            (prefObj: PFObject?, error: NSError?) -> Void in
