Activity indicator automatically starts and stops when gallery item set