Take a photo widget not working on mobile device