hw3v3

Using a class wrapper the onclicklistener so the constructor can set the
received parameter and set it it its field.
Remaining:before taking photo ,setting the listener.