Added ability to capture and choose photos and videos using Intents