Added popup visuals only
Fixed local storage function