apply only needs access to the shown todos

Todo is now a class and therefore passed by reference, do not need to
update both copies in Todo and Todos