Clean up UI/UI states.