Create a new task when a selected task is completed.