hasTextSelection had no interest. The other two values have been put inside an object to observe only one object.