Saving appDate and duration instead of appstart and end times.
Updated appname in returned insert message.