Re-use CAppUtils::RebaseAfterFetch() in Sync dialog

Signed-off-by: Yue Lin Ho <b8732003@student.nsysu.edu.tw>