Improving TodoDetail

Improving the efficiency when retrieving and storing ToDo Detail