Take a Photo widget was working but now is not