implemented pictureFrame listener in activity