Optimized calendar widget

Improved the performance of the calendar widget by reducing the number of times the refreshDisplay is called