Fixed folder handling for localStorage in list method