IACO-470 open preferences

Why is the check here different than the one on line 28?