Add handler for general async state change.