added menu click listener; linked menu