Refactor the uses for "Loading" panel.