LocalStorage magic! Separated list appending as a function