Show and hide sync notification correctly.