take a picture with camera and transition to new activity