select correct portfolio when adding a new task
choose correct portfolio when editing task