added code for list onClick listener.
next to do is getting button text yet to be developed
the functionality of sending file is yet to be done.