fixed focus bug while adding a cell