fixed double call of onDateSet(...) and loading