Add a share preference

Change-Id: I6e30f127a74d866ff978d18785cb5840e4b39028