Fix: spinner is hidden while sync in progress. (small execution order fix)