Fixed bug causing global settings save to fail.