Add event handler to trigger on label clicks