made notes editable and added edit button in correct location