Added refactoring to CameraActivity class, adding some improvaments on
the code and chaged the way that the camera saves the picture, improving
low memory usage.