Modified BlocNotes.java, CustomStyleDialogFragment.java and fragment_custom_style.dialog.xml

I modified the layout, created a showDialog method, set a title to the dialog fragment, and set the icon to launch the fragment when the user selects the icon.