Trying to handle Activity Indicator