cleared input after add button is clicked, made changes to complete function