Fix string compare in settings