corrected errors with copy/paste operations not using the new localStorage key