Fixed an issue where progress indicator in the actionbar wouldn't get removed