sd: Use correct SID instead of 0

Change-Id: I181519578b2984463ad20f4b028917bcb49ba4d0
fdo#46839 Convert line color picker to split button

Change-Id: I4987cc9ffba675009f2d2ae9f6b12ed4ee02fe13
That's actually a pointer

Change-Id: I9d6333646f8ef366f63ff09e089c84517d9756e7
Fix last color detection

Change-Id: Idb0f90a3f2100211689c3ede1dfedda86edb9728