Fixed main activity errors and added click function to start
GalleryActivity. Started working on GalleryActivity.