Settings: check if NfcAdapter is null

according to the javadoc, getDefaultAdapter(Context) can return null, if
no NFC adapter exists.

check if adapter is null before trying to call isEnabled

Change-Id: I7ff5488cc3b53ce9785c3e46effcf29dc31fe0ef