This helps reducing the LOC number of GcalWindow, and allows us to also implement the popover in a better way.