Fixed textButtons

Fixed errors in textButton class.