Add try..catch block in DisplaySettingsActivity

Preventing application from not responding error.