Add to list after pressing enter