fixed bug related to filters and adding new todos