Fixed date picker dialog bug