We want to check when the background changed or when the foreground changed (and either the old or new value was inverse)