Several improvements for cell entry selection, so that selection can be maintained even when reloading the table