Fixed an issue where the application sync manager state wasn't being reset properly.