Added a new activity and button functionality.