added menu for viewchapter
added addPhoto button refactored listener
fixed photo issue