Set ClickListener programmatically

Android style to set a ClickListener and the dialog should match the Material Guidelines now.