when press close button, change image