create button dynamic text on pgs