On a Quickest Detection Problem