Add t - function to buttons