fix error: sharedpreferences can be locked, use multi process flag