Updata DataDisplay and Debug DataManager

DataManager :
- Check the boundary between start cycle and end cycle to avoid error
- start > end --> set start = end
- start = end --> single cycle
- start/end > max record --> start/end = max record

DataDisplay :
- get the data by calling the function of data manager