now gets date and time from Calendar
merged MainActivity