fix a bug when hit cancel on choose quick add date dialog insert the transaction anyway