locked orientation to portrait

added delegate on selecting date,
locked orientation to portrait.