Delay effect on the dynamical model of a financial system