DAR-1496: Changed function in setTimeout