Fix bug for taking photos because of the manifest conflicts