Fix NPE causing slider dialog to crash

Change-Id: Ie4a198735ca640638efce6d36bad696d868e5467