replay and take until

1.add replay and takeuntil sample.
2.modified UI