Allow to specify whether to delete completed tasks or not