fix bug when no image selected from gallery; add listener to all button image