fix a bug when show empty info many time

fix a bug when newItem when have detail row