working with object added handler for enter key