add clicked attribute
add basic localstorage