Go to Edit of your gallery and then it displays the image in the gallery and "Use as logo" on the right side. Select whichever image you want to use as logo and press submit. I do not know if you can use any other image which is not in the gallery as logo.