fix bug: crash when the data source is null
change the lineview's color and change the record fragment's title