Static inner class to prevent crash on configuration change
Set dialog titles in sample app