Added tooltips to tickets buttons
Cleaned up code