added activity indicator while loading data