Automatic rescan on application activation