changed onLabelTapped method