         
         var cellId = ""
         
-        if segControl.selectedSegmentIndex == 0 {
+        if segControl.selectedSegmentIndex == 2 {
             cellId = "CPMesNotificationCellIdentifier"
             var cell = tableView.dequeueReusableCell(withIdentifier: cellId) as? CPMesNotificationCell
             if cell == nil {


    @IBOutlet weak var tableView: UITableView!

    var segControl:HMSegmentedControl! = JSHMSegmentedBridge.segmentControl(titles: ["Notifications".localized,"Issues".localized,"Event".localized])
    
    var notificationsData:[ObjNotification]! = []
    var issuesData:[ObjIssue]! = []

        }
        self.tableView.reloadData()

        if( (self.segControl.selectedSegmentIndex == 0)&&self.eventsData.isEmpty ){
            self.svc_getUserEventsRequest(self.eventPageVal)
            self.tableView.allowsSelection = false
        }else if( (self.segControl.selectedSegmentIndex == 1)&&self.issuesData.isEmpty ){
            self.tableView.allowsSelection = true
            self.mvc_getIssuesRequest(self.issuesPageVal)
        }else if( (self.segControl.selectedSegmentIndex == 2)&&self.notificationsData.isEmpty ){
            self.mvc_getNotificationsRequest(self.notisPageVal)
        }else{
            
        }
