Fix the misuse of takeWhile in demo

As per https://github.com/ReactiveX/RxScala/issues/62#issuecomment-63306798