changing span to button for removing picture