added the event listenet on doubleclick, but the handler isn't completed yet
done the function to handle the doubleclick on an item