Add delay for wpf