implementing uidatepicker and fixing keyboards