take picture even when the camera preview is clicked