Set the folder change only when the folder is different from previous

Required for b/7100372 Need to auto-sync boxes visited that haven't
synced in last X minutes

Change-Id: I683b908a0cfaa4527947290e0c5b762fdb04712f
1 file changed