Calendar: deleted unnecessary code