Modified processing for sync button