@lenalibczynska are you saying that when you push the shutter button to take a picture, your camera will start to zoom? That could then be related to the Zoom/dial release on the top assembly or the multifunction board.
Time to open up your camera and to check for any damage on either the board or the flex cables from the top section (shutter button). iFixit does not yet have a guide for the A520 but you can use the one for the A540 since those are essentially the same Canon PowerShot A540 Function Key Motherboard Replacement.
Once you have it apart, take some well focused images of what you have there and post those with your question. that way we can see what you see and hopefully we can figure it out. Adding images to an existing question
crwdns2934105:0crwdne2934105:0
crwdns2934113:0crwdne2934113:0
crwdns2915270:0crwdne2915270:0
crwdns2889612:0crwdne2889612:0
0
@lenalibczynska are you saying that when you push the shutter button to take a picture, your camera will start to zoom?
crwdns2934271:0crwdnd2934271:0 oldturkey03 crwdne2934271:0
yes, it zooms
crwdns2934271:0crwdnd2934271:0 Lena Libczynska crwdne2934271:0