Set event for save image button.