Memory management: Fix remove preference if it's not supported

Tested,works as intended on passion and jordan