Dynamics of a charge qubit coupled with a double-dot detector