Couple of fixes for device sync info.

Fixed the check if an item has already been synced.  Fixed code that
checks the current sync info when we first switch to a device tab.