Fix "logout" preference after crash fix.

(became no longer clickable)
Now giving an onClickListener to a preference only if it doesn't already
have a listener.

Change-Id: I93b25da9485477737f877abae34188d0243bebd4