Run Session::put() only if there changes for `orchestra.safemode` value.

Signed-off-by: crynobone <crynobone@gmail.com>