Solution for Activity Indicator when we are doing any server call.