Object managment in localStorage