Fix the camera preferences wipe on module swap

Make sure the preferences wipe only happens to the swapped cameras.
This behaviour was broken due to a conditional being always true (the
spaces around the equality check are needed).

Use the right key pointing at the resolution selected for the main
camera.

FPIIM-1585

Change-Id: Ieded819fe86016602c6fd8f5e54c50883777ebd3
1 file changed