Get sorting working correctly
Update the account list when the application becomes active