AM PM click handler