Enhancement: Adds function to eventSource instead of array, fixes events on other calendar views.