fine-tuned editAgenda to be trigged on double-click and to show updated agenda in edit box if you want to update the update