Added filtering ability to TodosController and mode switching to TodosAdapter