Shows loader before getting the components