Added functionality of getting a photo and display it