add a todo to mainview adapter