How to change the position of dynamic button

See this.
It is by @themaayur