Added functionality to title and subtitle buttons