Rearranged TextButton constructor to be consistent with other constructors.