added callbacks for pressing the menu links