Update promptLabel.
Added case when result is nil.
Added timeout.
Added some comments.