Fix Density changer crashing

Change-Id: I81cfa95a2a350e9a67e94c1802cbee125613f9a6