FunctiongetWebViewState

Retrieve the value from web view state with the given 'stateKey', if it exists. Otherwise return default value