code having dynamic list and displayed selected links in next activity.
Menu and backpressed() functionalities.