Updated addTask() method in EzStorage