The function takes a couple of seconds to complete, and about half of the time when I press the button, the activity indicator appears on the screen until the function is fi