Preserve ids after a cell is clicked
Add CSS, some refactoring