Code simplification in DatePickerFragment.java