Defending activity PSD