Changed cells from an instance variable to a local variable in BoardView class