Set the stored value for an identifier.
The identifier to update.
The new value to store.
The current application state map.
A new application state map with the updated value.
Set the stored value for an identifier.