added functionality to photo button