You should check if the webstorage key exists before setting ismuted.
add a subevent to the on start of layout and set it to
Local key exists "ismuted" - and add the events to set from webstorage as actions to that event.
you can't set ismuted to a value that doesn't exist.