Bug 977050 - Automate changing end date/time in Calendar

This patch is just for ui review not code review currently.
in fact, my snippet is wrong! the values are updated between both calls!