Added form validation clear items and and local storage function