Removed localStorage clearing