         if let cell = tableView.cellForRowAtIndexPath(indexPath) {
             if cell.accessoryType == .Checkmark{
                 cell.accessoryType = .None
-                checked[indexPath.row] = false
+                filterCheckmarks[indexPath.row] = false
             } else{
                 cell.accessoryType = .Checkmark
-                checked[indexPath.row] = true
+                filterCheckmarks[indexPath.row] = true
             }
         }
     }

        
        cell.eventNameLabel.text = events[indexPath.row]
        
        if checked[indexPath.row] == false {
            cell.accessoryType = .None
        } else if checked[indexPath.row] == true {
            cell.accessoryType = .Checkmark
        }
        

    let events: [String] = ["Likes", "Bookmarked", "Friend", "Follow", "Liked"]
    let eventType: [String] = ["like_event", "bookmark_event", "tg_friend", "tg_follow", "tg_like"]
    
    var filterCheckmarks: [Bool] = []
    
    override func viewDidLoad() {
        super.viewDidLoad()
    }

    override func viewWillAppear(animated: Bool) {
        readFilterCheckmarks()
    }
    
    func readFilterCheckmarks()  {
        // get default checked arr
        let defaults = NSUserDefaults.standardUserDefaults()
        filterCheckmarks = defaults.objectForKey("filterCheckmarks") as! [Bool]
    }
    
    // Back button pressed
