reformat code
changed icon to use pockets, catch exception to handle  possible crash if dialog tries to close after activity detached