fixing list view adapter for todo list