Add function search for tab IN and fix bug for todolist