@Override
		public void actionPerformed(ActionEvent e) {
			if (GeoLocationPanel.selectedPanel != null && photoPanel != null) {
				Picture picture = (Picture) DatabaseHandler.getInstance().findPictureById(photoPanel.getPath());
				LocationGPSObject location = GeoLocationPanel.selectedPanel.getLocationObjectOther();
				
				DatabaseHandler.getInstance().setLocationtoPicture(location, picture);
				photoPanel.setLocation(location.getLocation());
				searchPanel.setVisible(false);
			}
		}