ensure GlobalID.app is set back
test situations when app is nil or GlobalID is nil
use fetch to get the option with a default
make the error message more clear