Fix NPE while checking incoming settings
onCancel method of error dialog fragment is overridden and shows incomming settings when dialog is cancelled