Only reloadData if the submit button was pressed