code for opening new activity and passing data to it

modified menu item behavior to not duplicate new button action