added exception handling for photos >64kb, tested with add from camera, cannot test add from gallery on my android device because the code for gallery part doesn't work on android 4.4 but works on api 17 in emulator