Fixed the confusing selected day bug

Fixed an issue with selected day. The issue was, when user changes the
month, the the selected day of the current month is highlighted in the
next month also.