Added automatic detection of month for dropdown