added append media need to be saved in localstorage