created a new activity and pass a message