date picker is now working fine in all pages except device registration