Added ability to change calendar views.