stateOptional instance state to restore on the dialog
Shows the dialog associated with this Preference. This is normally initiated automatically on clicking on the preference. Call this method if you need to show the dialog on some other event.
[Android Documentation]