Activity indicator fix

Fixed bug where UIActivityIndicator is started accidentally.