#11 #15: refactoring view handling for supporting iOS7 // fixing bug using parameters allowOldDates or allowFutureDates