Unable to add user input from textbox to list

your checking “if not null” is bad