1.Fix bugs on auto-pausing. 2.Fix abnormal graph displaying problems after pausing