Clear localStorage when clicking the New button