resurrection tools- remove prefences if apps not installed

Change-Id: I717ffd281d2609dca6a75b23cc650243288c0170