[Declaration] fix add photo pageviewcontroller

- fix: Add photo button sometime do not appear
- clean up