Add functionality to select and highlight cells