Getting `displayList` or `todoStorage.getAll()` depending on CommandType.