Clicking item in gallery no longer breaks app; adding new photo does break app