fix loading bar switch loading method issue

When switch loading method from json to csb, the loading bar don't reset its percentage