Remove setButton funtion and createButton returns a string.