changed time and date picking to support pragments