Completed tasks are always saved but aren't necessarily displayed.
To change whether they are displayed or not, do the following:
- Click the "Options" link in the upper-right corner of the calendar page.
- Click the "Tasks" link.
- From the Completed Tasks box, select "Hide completed tasks" or "Display in calendar on day completed."