Added toasts for errors or confirmation of sync and fixed some thread issues