             if mainView == 1 {
                 slideViewValue.likesTitle.append(slideViewValue.windowStoreTitle[cell_row])
                 slideViewValue.likesUrl.append(slideViewValue.windowStoreUrl[cell_row])
-            }
-            if mainView == 0 {
+            } else if mainView == 0 {
                 slideViewValue.likesTitle.append(slideViewValue.historyTitle[cell_row])
                 slideViewValue.likesUrl.append(slideViewValue.historyUrl[cell_row])
             }
-        } else {
-            
-        }
-        self.windowView.reloadSections(NSIndexSet(indexesInRange: NSMakeRange(0, self.windowView.numberOfSections)), withRowAnimation: .Fade)
+        } else if(likes == "Unlike") {
+            //Unlike; Get index first, then remove...
+            if mainView == 1 {
+                if let i = slideViewValue.likesUrl.indexOf(slideViewValue.windowStoreUrl[cell_row]) {
+                    slideViewValue.likesTitle.removeAtIndex(i)
+                    slideViewValue.likesUrl.removeAtIndex(i)
+                }
+            } else if mainView == 0 {
+                if let i = slideViewValue.likesUrl.indexOf(slideViewValue.historyUrl[cell_row]) {
+                    slideViewValue.likesTitle.removeAtIndex(i)
+                    slideViewValue.likesUrl.removeAtIndex(i)
+                }
+            }
+        }
+        windowView.reloadSections(NSIndexSet(indexesInRange: NSMakeRange(0, windowView.numberOfSections)), withRowAnimation: .Fade)
         return true
     }
     

            
            //back to original tab
            historyBackToNormal()
            self.view.makeToast("Records are clear...", duration: 0.8, position: CGPoint(x: self.view.frame.size.width-120, y: UIScreen.mainScreen().bounds.height-70))
        } else if(mainView == 2) {
            //remove all history records
            slideViewValue.likesUrl.removeAll()

    
    //function to toggle reveal controller from another class
    func reloadTable(notification: NSNotification) {
        revealViewController().rightRevealToggleAnimated(true)
    }
    
    func scrollLastestTab(animate: Bool) {
