Set last resource to gray