Implement basic cell toggling functionality