Edited commands to update taskList and searchedList in CommandExecutor.