convert use sites of RectangleButton to TextButton, fix use sites of some options properties related to RectangleButton