Use List<Todo> instead of ArrayList as type