Code cleanup in setSelectedDate()
Merge pull request #13 from alexeyismirnov/master

Code cleanup in setSelectedDate()