Edit on title, date and time - needs refactoring