add checks for new cell added using shift-enter