Clean up UI refresh after http calls.