PSE index records 2nd weekly gain after setback