Cleaned up code. Still need to add imagePicker saving GPS metadata