return the groups that are set permissions
check the string input for all the displayed groups, if it's modified then the groups
is added to the calendar
Gets the default view in user setting
If the saved view is not in view types any more (for example YearView is removed in PLF 4),
this method returns DayView as default view and save this view to the setting