Fixed addNew button logic