Fix: spinner is hidden while sync in progress.