made exact order of setting calendar view less sensitive