Fix set text (DetailView)

- Fix network card hides after setText
- Only call setText if the records are not empty.