Function getDefaultLocalState