Added selected, new row insert and focus functionality to new table