Update the test-text-field when selecting objects