Scientists develop system to regulate information leakages from smartphone apps