Properties now update when enter key is pressed