Refactors manage todos