Fixes bug with progress dialog on accounts list never being hidden sometimes.