Export dialogs now retain state during configuration change (screen rotation, etc)

DatePickerFragment had to be moved to its own file since Android gets confused
if it's a nested class and reports that it is missing an empty public
constructor.