use switch preferences

Change-Id: I8cc5950f360c3d44eccffc4820f75ec602cb108c