Fix for calender reverting to current date and month view.

Fix for issue #2 with an enhancement that honours the selected view of
the calender instead of reverting to month view.