Adding to tasks and calendars to database now works!