Cleaned up how ticket buttons are rendered.