Set profile pic option on the image

On the image two button is showing as “Edit” and “Delete”. I want to add one more button “Set profile pic”. How can I do that. Also when user click on the image (In slideshow mode) on the bottom of the image “option” menu is coming under which “Set profile pic” is coming. I donot want to show “Set profile pic” insde the option menu but I want to show it outside the “Option” menu, near the EDIT menu.

Any help?