SetInterval now is executed one time in DurationChanged method