@readerssection can you specify more what are you trying to do ?
the error you mentioned, most likely because you assigning .text property to a button, which is wrong! if you want to assign a text to a button you should use .label
Hope this is what you meant!
Best,
-----------------------
Mustafa