Fix bugs about refresh when remove/add repositories