Add path to switchpreference.

Change-Id: Ib380990e614778a076bfaab4ca6f096a47946b16