Fixed failing sessionstorage/localstorage sync with wrong function names