Added on click listener in gallery.
Fixed button bug in login screen.